﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace ABCNet.Notices
{

    [Table("N_Notices")]
    public class Notice : Abp.Domain.Entities.Auditing.AuditedEntity
    {
        /// <summary>
        /// 文章标题
        /// </summary>
        [StringLength(50)]
        public string Title { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        [StringLength(50)]
        public string CreatorUserName { get; set; }

        /// <summary>
        /// 缩略图
        /// </summary>
        [StringLength(200)]
        public string Thumbnail { get; set; }

        /// <summary>
        /// 是否置顶
        /// </summary>
        public bool IsTop { get; set; }


        /// <summary>
        /// 置顶时间
        /// </summary>
        public DateTime TopTime { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
    }
}
